package com.chixing.controller;

import com.chixing.config.WebSocketServer;
import com.chixing.server.WebSocketServerEndpoint;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class MessageController {
    @RequestMapping("/socket/push/{cid}")
    @ResponseBody
    public String pushToWeb(@PathVariable("cid") String cid, String message){

        return null;
    }
}
